﻿@page "/app"
@inherits AppPage

@{
    // App手机端首页组件
    // 1. Carousel为轮播
    // 2. AppConfig.AppName为系统标题
    // 3. AppMenu为首页菜单
}

<div class="carousel">
    <Carousel Autoplay="TimeSpan.FromSeconds(3)">
        <CarouselSlick><img src="img/login.png" style="width:100%" /></CarouselSlick>
        <CarouselSlick><img src="img/login.png" style="width:100%" /></CarouselSlick>
    </Carousel>
</div>

<div style="padding:10px 0;">
    <h1 class="kui-app-name" style="display:block;">@AppConfig.AppName</h1>
</div>

<div style="padding:20px 30px;">
    <AppMenu Items="Config.AppMenus.ToList()" Count="3" />
</div>